package org.duang.openapi;

import java.util.Map;

import com.taobao.api.ApiRuleException;
import com.taobao.api.BaseTaobaoRequest;
import com.taobao.api.internal.util.TaobaoHashMap;

public class OpenApiRequest extends BaseTaobaoRequest<OpenApiResponse> {

	@Override
	public void check() throws ApiRuleException {
		
	}

	@Override
	public String getApiMethodName() {
//		return "alipay.user.account.get";
		return "taobao.user.seller.get";
	}

	@Override
	public Class<OpenApiResponse> getResponseClass() {
		return OpenApiResponse.class;
	}

	@Override
	public Map getTextParams() {
		 TaobaoHashMap txtParams = new TaobaoHashMap();
		    if (this.udfParams != null) {
		      txtParams.putAll(this.udfParams);
		    }
		    return txtParams;
	}

}
